<script setup lang="ts">
import GlobalHeader from '@/components/GlobalHeader.vue';

</script>

<template>
  <div id="basicLayout">
    <a-layout style="height: 100vh;">
      <a-layout-header class="header">
        <GlobalHeader />
      </a-layout-header>
      <a-layout-content class="content">
        <RouterView />
      </a-layout-content>
      <a-layout-footer class="footer">
        <a-link class="link" href="#">@author by 高桥凉介</a-link>
      </a-layout-footer>
    </a-layout>
  </div>
</template>


<style scoped>
#basicLayout {
  width: 100%;
  min-height: 100vh;
}

#basicLayout .header {
  width: 100%;
  height: 48px;
}

#basicLayout .content {
  padding: 20px;
}

#basicLayout .footer {
  width: 100%;
  height: 48px;
  text-align: center;
}

#basicLayout .footer .link {
  margin-top: 1rem;
}
</style>
